import os

# print(__file__)#当前文件路径
# print(os.path.dirname(__file__))#上一层文件路径
# 工程路径
project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# 配置路径
configs_path = os.path.join(project_path, 'configs')
# 数据路径
datas_path = os.path.join(project_path, 'datas')
# 用例路径
cases_path = os.path.join(project_path, r'test_case')
# 页面路径
pages_path = os.path.join(project_path, r'py_page')
# 数据库路径
db_path = os.path.join(project_path, r'dbDatas')
# 工具类路径
utils_path = os.path.join(project_path, r'utils')
# 工具方法路径
common_path = os.path.join(project_path, r'common')
# 报告路径
report_path = os.path.join(project_path, r'report\report')
# 报告HTML页面
reportHTML_path = os.path.join(project_path, r'report\report\html')
# 日志路径
log_path = os.path.join(project_path, r'\handle_loguru.py')
# 用例执行错误截图路径
screen_shot_path = os.path.join(project_path, r'Screen_shot')
# 谷歌驱动路径
driver_path = os.path.join(project_path, r'driver_version')
